COMET with [Session ] TimeOut

Posted by Amitd on Stack Overflow See other posts from Stack Overflow or by Amitd
Published on 2010-04-06T06:52:05Z Indexed on 2010/04/06 12:23 UTC
Read the original article Hit count: 476

hi guys,

Just Wondering how [Session] timeouts are(or can be) implemented when using Comet?

I'm using Long polling Comet solution and want to implement a kind of Timeout feature.

Example :
If the user is on a Comet enabled page and doesn't respond to server events/notification for a period of time say 10 mins then invalidate his session and remove his request from server and redirect the user to a timeout page?

Will this require Javascript XHR requests to check for a timeout explictly?

Using ASP.NET 3.5 / C#

(Doesn't need to be language specific)

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#